﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Marmat.Common.Http
{
    /// <summary>
    /// 命令工厂的实现标准
    /// </summary>
    public interface ICommandFactory
    {
        /// <summary>
        /// 获取接口对应的服务实例。
        /// </summary>
        /// <typeparam name="TInterface"></typeparam>
        /// <returns></returns>
        TInterface GetService<TInterface>() where TInterface : class;
    }
}
